<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Map 数据结构</title>
  </head>
  <body>
    <script>
      // let obj = {
      //   name: '张三'
      // };
      // obj.age = 10;
      // console.log(obj.age);

      const map = new Map();
      map.set(1, '张三');
      console.log(map.get(1));
    </script>
  </body>
</html>
